package com.mgm.language.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mgm.dao.LanguageMapper;
import com.mgm.language.service.LanguageService;
import com.mgm.pojo.Language;

@Service
public class LanguageServiceImpl implements LanguageService {
	
	@Autowired
	private LanguageMapper languageMapper;

	@Override
	public List<Language> findAll() {
		return languageMapper.selectAll();
	}

	@Override
	public List<String> selectCode() {
		return languageMapper.selectCode();
	}
	
}
